<!DOCTYPE html>
<html>
<body>
	<!--CONTENT SECTION START-->
		<div id="main-wrapper-sec">
			<section>
				<!--INNER MAIN TITLE SECTION START-->
					<h2 class="inner-main-title pr-title">login</h2>
				<!--INNER MAIN TITLE SECTION END-->
				<!--CONTENT MAIN SECTION START-->
				<div class="content-main-sec">
					<!--INNER CONTENT LEFT SECTION START--> 
					<div class="online-recharge-sec fleft">
					<div class="reg-sub-sec signup-left-sec">
					<article class="">
					  <aside class="">
						<h2 class="or-pp-sec"><span class="fleft">User Login Here</span></h2>
						<form id="formid" method="POST" onsubmit="return userLogin()"> 
						    <ul class="login-form-sec">	
							 <li><label>Phone Number :</label> 
								<span style="float:left;width:100px;"><?php include('cflag.phtml');?></span>
								<!--<input style="width:65px"name="tags" id="tags" type="text" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" value="<?php //if(isset($_COOKIE['Rid'])){ echo $_COOKIE['Rid'];}else{ echo 'India (+91)'; } ?>" />--> 
								<span style="float:left;margin-left:20px;"><input name="pnumber1" id="pnumber1" type="text" value="<?php if(isset($_COOKIE['Ruser'])){ echo $_COOKIE['Ruser'];} ?>"></span>
								<span id="errorphonenumber" class="error_valid" /></span>
								<div class="clear"></div>	
								</li>
							
							    <li><label>Password :</label>
							    <input name="pass" id="pass" type="password" value="<?php if(isset($_COOKIE['Rpass'])){ echo $_COOKIE['Rpass']; } ?>" /><span id="errorpass" class="error_valid" ></span>
							   </li>
							   <li><label>&nbsp;</label> <span>&nbsp;&nbsp;</span>							  
							   <p class="for_get_p">&nbsp;&nbsp;&nbsp;4-12 numbers, no letters
							   <a class="for_get_a" href="<?php echo $this->url('forget-password', array('action' => 'forget-password'));?>" />Forgot your Pin</a></p></li>
							   <li><label>&nbsp;</label><span>&nbsp;&nbsp;</span><input name="check" id="check" type="checkbox" value="0" <?php if(isset($_COOKIE['Ruser'])){ echo 'checked="checked"'; } ?> /><p style="margin: -15px 0px 0px;">Remember me</p></li>
                               <li><input type="submit" value="Login" ></li>
							   <input type="hidden" name="tag" id="tag" value="">
                            </ul> 
						</form><br/><br/>
						<?php if(isset($_GET['id'])){ if($_GET['id']==2){ ?> <p style="color:red;margin:0px 0px 0px 156px;">please enter correct number/password </P><?php } } ?>
						<br/><br/><br/>
					</aside>
					</article>
					</div>
					<!--INNER CONTENT LEFT SECTION END-->
					<div class="reg-sub-sec bor-left">
						<h2 class="or-pp-sec"><span class="fleft">Corporates Login Here</span></h2>
						<form id="formid" method="POST" onsubmit="return corporateLogin()" action=""> 
						  <ul class="login-form-sec">	
							  <li><label>Username :</label> <span>&nbsp;&nbsp;</span> 
								<!--onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"-->	  
							  <span><input name="uname" id="uname" type="text" value="<?php if(isset($_COOKIE['Cuser'])){ echo $_COOKIE['Cuser']; } ?>" /></span>
							  <span id="erroruname" class="error_valid" /></span>	
							  </li>
							  <li><label>Password:</label> <span>&nbsp;&nbsp;</span> 
							  <input name="cpass" id="cpass" type="password" value="<?php if(isset($_COOKIE['Cpass'])){ echo $_COOKIE['Cpass']; } ?>" /><span id="errorpass_cop" class="error_valid" ></span>
							  </li>
							  <li ><label>&nbsp;</label> <span>&nbsp;&nbsp;</span>							  
							  <p class="for_get_p">&nbsp;&nbsp;&nbsp;4-12 numbers, no letters
							  <a class="for_get_a" href="<?php echo $this->url('cforget-password', array('action' => 'cforget-password'));?>" />Forgot your Pin</a></p></li>
								<li><label>&nbsp;</label><span>&nbsp;&nbsp;</span><input name="Ccheck" id="Ccheck" type="checkbox" value="0" <?php if(isset($_COOKIE['Cuser'])){ echo 'checked="checked"'; } ?>/><p style="margin:-15px 0 0;">Remember me</p></li>
							<li><input type="submit" value="Login" ></li>
                          </ul>
						</form><br/><br/>
						<?php if(isset($_GET['id'])){ if($_GET['id']==3){ ?> <p style="color:red; margin:0px 0px 0px 206px;">please enter correct number/password</P><?php } } ?><br/><br/></br>
					  </div>
					</div>
				</div>
				<!--CONTENT MAIN SECTION END-->
				<div class="clear"></div>
				<!--CLIENTS AREA SECTION START-->
				<aside class="content-main-sec ot-lg-sec"> <img src="<?php echo $this->basePath(); ?>/images/truste.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/secured.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/mcafeev.jpg" alt="">
					<h3 class="otg-title">Trusted. Safe. Reliable.</h3>
				</aside>
				<!--CLIENTS AREA SECTION END-->
			  <div class="clear"></div>
			</section>
		</div>	
	<!--CONTENT SECTION END--> 
	</body>
</html>

